import basicConfig from '@materials/questions/common/config/basicConfig'

const meta = {
  title: '多选',
  type: 'date',
  componentName: 'DateModule',
  formConfig: [
    basicConfig,
    {
      name: 'format',
      title: '日期格式',
      type: 'SelectSetter',
      key: 'format',
      options: [
        {
          label: '请选择',
          value: ''
        },
        {
          label: '年/月/日/时/分/秒',
          value: 'YYYY-MM-DD HH:mm:ss'
        },
        {
          label: '年/月/日/时/分',
          value: 'YYYY-MM-DD HH:mm'
        },
        {
          label: '时/分',
          value: 'HH:mm'
        }
      ]
    }
  ],
  defaultConfigValue: {
    title: '时间'
  }
}

export default meta
